home *** CD-ROM | disk | FTP | other *** search
- // Borland C++ Builder
- // Copyright (c) 1995, 1998 by Borland International
- // All rights reserved
-
- // (DO NOT EDIT: machine generated header) 'AHMTFormExplode.pas' rev: 3.00
-
- #ifndef AHMTFormExplodeHPP
- #define AHMTFormExplodeHPP
- #include <AHMSystem.hpp>
- #include <Forms.hpp>
- #include <Classes.hpp>
- #include <Windows.hpp>
- #include <SysInit.hpp>
- #include <System.hpp>
-
- //-- user supplied -----------------------------------------------------------
-
- namespace Ahmtformexplode
- {
- //-- type declarations -------------------------------------------------------
- enum TAHMWipeType { wsFormTopBorder, wsFormBottomBorder, wsFormLeftBorder, wsFormRightBorder, wsScreenTopBorder,
- wsScreenBottomBorder, wsScreenLeftBorder, wsScreenRightBorder, wsFormTopLeft, wsFormBottomLeft, wsFormTopRight,
- wsFormBottomRight, wsScreenTopLeft, wsScreenBottomLeft, wsScreenTopRight, wsScreenBottomRight, wsFormMiddle,
- wsScreenMiddle, wsCustompoint };
-
- enum TAHMShowType { onAlways, onShow, onHide };
-
- typedef void __fastcall (__closure *TAHMOnGetPoints)(System::TObject* Sender, int &CustomLeft, int &
- CustomTop, int &CustomRight, int &CustomBottom);
-
- class DELPHICLASS TAHMFormExplode;
- class PASCALIMPLEMENTATION TAHMFormExplode : public Ahmsystem::TAHMSystemsComponent
- {
- typedef Ahmsystem::TAHMSystemsComponent inherited;
-
- private:
- TAHMWipeType FOnShowType;
- TAHMWipeType FOnCloseType;
- Word FNoOfSteps;
- TAHMOnGetPoints FOnGetPoints;
- TAHMShowType FShowType;
- Word FCustomLeft;
- Word FCustomTop;
- Word FCustomWidth;
- Word FCustomHeight;
- Classes::TNotifyEvent OwnerOnShow;
- Classes::TNotifyEvent OwnerOnPaint;
- Classes::TNotifyEvent OwnerOnHide;
- void __fastcall SetShow(TAHMShowType Value);
-
- protected:
- bool Explode;
- HDC Dc;
- HPEN OldPen;
- HPEN NewPen;
- HBRUSH OldBrush;
- HBRUSH NewBrush;
- int OldROP;
- void __fastcall MyOnShow(System::TObject* Sender);
- void __fastcall MyOnPaint(System::TObject* Sender);
- void __fastcall MyOnHide(System::TObject* Sender);
- void __fastcall ShowForm(HDC Dc, Forms::TForm* Dest, int Steps);
- void __fastcall HideForm(HDC Dc, Forms::TForm* Dest, int Steps);
-
- public:
- __fastcall virtual TAHMFormExplode(Classes::TComponent* AOwner);
- void __fastcall GetSrect(int &x, int &y, int &w, int &h, TAHMWipeType ws);
-
- __published:
- __property Word NoOfSteps = {read=FNoOfSteps, write=FNoOfSteps, default=40};
- __property TAHMShowType ShowType = {read=FShowType, write=SetShow, default=0};
- __property TAHMWipeType OnShowType = {read=FOnShowType, write=FOnShowType, default=16};
- __property TAHMWipeType OnCloseType = {read=FOnCloseType, write=FOnCloseType, default=16};
- __property Word CustomLeft = {read=FCustomLeft, write=FCustomLeft, nodefault};
- __property Word CustomTop = {read=FCustomTop, write=FCustomTop, nodefault};
- __property Word CustomBottom = {read=FCustomHeight, write=FCustomHeight, nodefault};
- __property Word CustomRight = {read=FCustomWidth, write=FCustomWidth, nodefault};
- __property TAHMOnGetPoints OnGetPoints = {read=FOnGetPoints, write=FOnGetPoints};
- public:
- /* TComponent.Destroy */ __fastcall virtual ~TAHMFormExplode(void) { }
-
- };
-
- //-- var, const, procedure ---------------------------------------------------
-
- } /* namespace Ahmtformexplode */
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Ahmtformexplode;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // AHMTFormExplode
-